.class Lcom/kwad/sdk/api/loader/ProducerFactory;
.super Ljava/lang/Object;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/kwad/sdk/api/loader/ProducerFactory$ConfigProducer;,
        Lcom/kwad/sdk/api/loader/ProducerFactory$UpgradeProducer;,
        Lcom/kwad/sdk/api/loader/ProducerFactory$DownloadProducer;,
        Lcom/kwad/sdk/api/loader/ProducerFactory$SecurityProducer;,
        Lcom/kwad/sdk/api/loader/ProducerFactory$InstallProducer;,
        Lcom/kwad/sdk/api/loader/ProducerFactory$BaseConsumer;,
        Lcom/kwad/sdk/api/loader/ProducerFactory$Consumer;,
        Lcom/kwad/sdk/api/loader/ProducerFactory$Producer;
    }
.end annotation


# direct methods
.method constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static newUpdateProducer(Ljava/lang/String;)Lcom/kwad/sdk/api/loader/ProducerFactory$Producer;
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            ")",
            "Lcom/kwad/sdk/api/loader/ProducerFactory$Producer<",
            "Ljava/lang/Boolean;",
            ">;"
        }
    .end annotation

    invoke-static {}, Lcom/kwad/sdk/api/loader/Loader;->get()Lcom/kwad/sdk/api/loader/Loader;

    move-result-object v0

    invoke-virtual {v0}, Lcom/kwad/sdk/api/loader/Loader;->getContext()Landroid/content/Context;

    move-result-object v0

    new-instance v1, Lcom/kwad/sdk/api/loader/ProducerFactory$InstallProducer;

    new-instance v2, Lcom/kwad/sdk/api/loader/ProducerFactory$SecurityProducer;

    new-instance v3, Lcom/kwad/sdk/api/loader/ProducerFactory$DownloadProducer;

    new-instance v4, Lcom/kwad/sdk/api/loader/ProducerFactory$UpgradeProducer;

    new-instance v5, Lcom/kwad/sdk/api/loader/ProducerFactory$ConfigProducer;

    invoke-direct {v5, p0}, Lcom/kwad/sdk/api/loader/ProducerFactory$ConfigProducer;-><init>(Ljava/lang/String;)V

    invoke-direct {v4, v5, v0}, Lcom/kwad/sdk/api/loader/ProducerFactory$UpgradeProducer;-><init>(Lcom/kwad/sdk/api/loader/ProducerFactory$Producer;Landroid/content/Context;)V

    invoke-direct {v3, v4, v0}, Lcom/kwad/sdk/api/loader/ProducerFactory$DownloadProducer;-><init>(Lcom/kwad/sdk/api/loader/ProducerFactory$Producer;Landroid/content/Context;)V

    invoke-direct {v2, v3, v0}, Lcom/kwad/sdk/api/loader/ProducerFactory$SecurityProducer;-><init>(Lcom/kwad/sdk/api/loader/ProducerFactory$Producer;Landroid/content/Context;)V

    invoke-direct {v1, v2, v0}, Lcom/kwad/sdk/api/loader/ProducerFactory$InstallProducer;-><init>(Lcom/kwad/sdk/api/loader/ProducerFactory$Producer;Landroid/content/Context;)V

    return-object v1
.end method
